function printMessageLength(message?: string) {
    console.log(message!.length);
    
}

printMessageLength("hello world")